<?php
$user = Authenticate::isLogin()? Account::instance()->getOne(Authenticate::getId()): null;
View::display('recommend.payment', array('user'=> $user, 'invoiceId'=> isset($_GET['invoiceId'])? $_GET['invoiceId']: null));